﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BusinessLogicLayer;

namespace PKSoftManagement
{
    public partial class FormDmLoaiDVTinh : UserControl
    { 
      LoaiDVTinhBLL BLL= new LoaiDVTinhBLL();
        public FormDmLoaiDVTinh()
        {
            BindingSource bs = new BindingSource();
            var list = BLL.GetAll();
            InitializeComponent();
            bs.DataSource = list.ToList();
            DGView.DataSource = bs;
        }
    }
}
